from selenium import webdriver
from selenium.webdriver.common.by import By
from options import options
from time import sleep


url = r'http://172.16.36.121/upload/'
deiver = webdriver.Chrome(options=options)
deiver.get(url)
deiver.maximize_window()

deiver.find_element(By.ID,'ls_username').send_keys('admin')
deiver.find_element(By.ID,'ls_password').send_keys('sa')
sleep(3)
deiver.find_element(By.XPATH,'//*[@id="lsform"]/div/div/table/tbody/tr[2]/td[3]/button/em').click()
sleep(3)

deiver.find_element(By.XPATH,'//*[@id="um"]/p[1]/a[7]').click()
sleep(3)